package com.analyst.dto;

/**
 * ClassName: ResultCode
 * Package: com.analyst.dto
 * Description:
 *
 * @Author wk
 * @Create 2023/08/7 0007 下午 04:05:56
 * @Version 1.0
 */

public enum ResultCode {
    SUCCESS(1000, "请求成功"),
    FAILED(1001, "系统出现异常");
    private final Integer code;
    private final String msg;

    ResultCode(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
